﻿using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CodeSystem
{
    public class SQLiteTool : IDisposable
    {
        public readonly SQLiteConnection connect;

        public SQLiteTool(string fileName = "data.db")
        {
            var filePath = Path.Combine(Application.StartupPath, fileName);
            connect = new SQLiteConnection(filePath);
        }

        public void Dispose()
        {
            connect.Dispose();
        }
    }

}
